<?php
namespace app\backstage\model;

use think\Model;

class KlOrder extends Model
{
    protected $table = 'pay_order_kl_backups';


    public function agent()
    {
        return $this->hasOne(ManagerUser::class, 'id', 'agent_id')->field("id,account");
    }

    public function channel()
    {
        return $this->hasOne(ManagerUser::class, 'id', 'channel_id')->field("id,account");
    }


}